<table class="table">
    <th>Username</th>
    <th>Alias</th>
    <th>Headline</th>
    <?php foreach ($users as $user): ?>
        <tr>
            <td><?php echo $user->name ?></td>
            <td><?php echo $user->alias ?></td>
            <td><?php echo $user->headline ?></td>
        </tr>
    <?php endforeach ?>
</table>